home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / pegamail / pmfxuucp / atsend / atsend.doc next >
Text File  |  1994-05-29  |  8KB  |  258 lines

  1.  
  2.                               ATSEND V1.9
  3.     By Joseph Sheppard, Sysop, The Ledge PCBoard - (818) 896-2007
  4.  
  5.  
  6. ───────────
  7. DESCRIPTION
  8. ───────────
  9.  
  10. ATSEND.EXE allows users to send "AT" commands to Hayes compatible modems
  11. from the DOS command prompt, or from batch files.
  12.  
  13. ATSEND.EXE does not need a DTR utility to make it work.  DTR is handled
  14. directly by ATSEND.
  15.  
  16. ATSEND.EXE follows the DSZPORT= setting if it's found in the DOS
  17. environment.
  18.  
  19. ATSEND.EXE works with non-standard COM ports via environment
  20. variables COMBASE and COMIRQ.
  21.  
  22. ATSEND.EXE can be used to dial a telephone.  It is small enough
  23. to be shelled out to by most database programs to create dialing
  24. routines.
  25.  
  26. ATSEND.EXE is written with Borland's Turbo Pascal  using communication
  27. routines from Prokit, (c) Samuel Smith.
  28.  
  29. ATSEND.EXE is not "Free Software".  If you use it for more than
  30. 30 days, registration is required.  See the section titled
  31. "Registration" in this document.
  32.  
  33. ────────────
  34. HOW IT WORKS
  35. ────────────
  36.  
  37. To send a command to the modem, the user runs ATSEND.EXE by
  38. typing ATSEND at the DOS command prompt followed by the command to be sent
  39. to the modem, and the port the modem is connected to.
  40.  
  41. The default port is COM1 at standard address 3F8/IRQ4, so if your modem is
  42. attached to COM1 then you don't need to specify a port on the command line,
  43. or put it in the DOS environment using the DSZPORT variable.
  44.  
  45. If your modem is connected to COM2 at standard address 2F8/IRQ3, then you
  46. will always need to follow the command to be sent with the number 2, or
  47. have DSZPORT=2 in your DOS environment.  Non-Standard COM Ports are
  48. supported and explained later in this document.
  49.  
  50. An environment variable called ATOK is used to disable the
  51. time-out routines.  This is useful when ATSEND is to be used to
  52. dial a telephone.  To keep the modem from waiting for the modem
  53. to return an "OK" place ATOK=NO in your environment.
  54.  
  55. ────────
  56. EXAMPLES
  57. ────────
  58.  
  59. ATSEND H1               (Take modem connected to COM1 off the hook)
  60.  
  61. ATSEND H1M0 2           (Take modem connected to COM2 off hook and turn-off
  62.                         speaker)
  63.  
  64. ATSEND M1DT18188962007  (Tell modem connected to COM1 to dial
  65.                         1-818-896-2007). Use the ATOK environment
  66.                         variable when using ATSEND to dial a
  67.                         telephone.
  68.  
  69. ATSEND Z 2              (Perform a reset on the modem connected to COM2)
  70.  
  71. To use the DSZPORT variable, and avoid having to type the port
  72. number on the command line, put the following line in your
  73. AUTOEXEC.BAT file:  SET DSZPORT=<PORT>.  For example, if you are
  74. using COM2:
  75.  
  76. SET DSZPORT=2
  77.  
  78. ───────────────────────────
  79. NON-STANDARD PORT SETTINGS:
  80. ───────────────────────────
  81.  
  82. ATSEND works with standard and non-standard serial port configurations.
  83. Here are the defaults:
  84.  
  85. Port    Base Address    IRQ
  86.  
  87. COM1    3F8             IRQ4
  88. COM2    2F8             IRQ3
  89. COM3    3E8             IRQ4
  90. COM4    2E8             IRQ3
  91. COM5    Undefined       Undefined
  92. COM6    Undefined       Undefined
  93. COM7    2E8             IRQ5
  94. COM8    3E8             IRQ5
  95.  
  96. If you use these setups, you can simply specify the port number in your
  97. ATSEND command line (Example: ATSEND Z 8 to reset a modem on COM8:):
  98.  
  99. If your port is setup differently, then ATSEND will look for two
  100. environment variables called COMBASE and COMIRQ.
  101.  
  102. COMBASE must be converted from hex to decimal in order to work properly
  103. (Example 744 for 2E8).  A utility called HEX2DEC.EXE is included to assist
  104. in changing your hex port address to decimal.
  105.  
  106. COMIRQ is simply the IRQ number being used.
  107.  
  108. For example, if you were going to run COM7 with a Base Address of 2F8 on
  109. IRQ2, at the DOS prompt, or in a batch file you would type:
  110.  
  111. SET COMBASE=760
  112. SET COMIRQ=2
  113.  
  114. This setting will override any DSZPORT, or command line commands.
  115. I have included a program called HEX2DEC.EXE that can be used to
  116. convert your hex port address into decimal.  If COMBASE and COMIRQ are in
  117. the environment, there is no need to put the port number on the command
  118. line.
  119.  
  120. ───────────
  121. ATBATCH.EXE
  122. ───────────
  123.  
  124. ATBatch is the easy way out.  It will create batch files for you
  125. that send the proper commands to ATSEND, including COMIRQ and
  126. COMBASE, including automatic hex to decimal conversion.  Use
  127. ATBATCH to create a batch file called ATH1.BAT.  Then you can
  128. just type ATH1 from DOS just like you were inside your favorite
  129. terminal program!
  130.  
  131. ────
  132. USES
  133. ────
  134.  
  135. I wrote this as a utility to take my modem off the hook during BBS mail
  136. runs so that callers wouldn't ring the line during the event.  I'm sure
  137. there are other uses for it, and would be interested in hearing from
  138. users who find new ways to use this program.
  139.  
  140. ───────
  141. SUPPORT
  142. ───────
  143.  
  144. The latest version of this program along with other software I have
  145. written are always available for download by first time callers to my
  146. BBS, The Ledge PCBoard, 818-896-2007 (HST/Terbo/V32.bis). First time
  147. callers may download my programs on the first call when they use the
  148. SUPPORT application which can be found by typing the word SUPPORT at
  149. the main menu.  You may pay for registration online with MASTERCARD,
  150. VISA, DISCOVER or AMERICAN EXPRESS when you call The Ledge and type
  151. REGISTER at the main menu command prompt.
  152.  
  153. Please report any problems, or suggestions to me at the following
  154. addresses:
  155.  
  156. Modem:
  157. ------
  158. The Ledge PCBoard
  159. 818-896-2007
  160. USRobotics Dual Standard HST (V.32bis)
  161.  
  162. Internet Email:
  163. ---------------
  164. sysop@ledge.com
  165.  
  166. Echo Mail:
  167. ----------
  168. U'NI-net (All Conferences)
  169.  
  170. Compuserve:
  171. -----------
  172. 73175,623
  173.  
  174. Postal:
  175. -------
  176. Joseph Sheppard
  177. The Ledge PCBoard
  178. 6858 Acco Street
  179. Los Angeles, CA 90040
  180.  
  181. ────────────
  182. REGISTRATION
  183. ────────────
  184.  
  185. ATSEND.EXE is fully functional.  this is not crippled or limited software.
  186. You can support this method of distribution, and encourage it to continue
  187. by sending a shareware registration of $10.00.
  188.  
  189. For registrations by Visa, Mastercard, Discover or American
  190. Express please call The Ledge PCBoard at (818) 896-2007 and enter
  191. the word REGISTER at the main menu command prompt.
  192.  
  193. You may also register via INTERNET EMAIL.  Send a message addressed to
  194. sysop@ledge.com that includes your credit card number, and expiration
  195. date.  Please include your name as it appears on the card, and your
  196. credit card billing address along with the 800 number that appears on
  197. the back of the credit card.
  198.  
  199. Checks and Money Orders may be made payable to THE LEDGE PCBOARD and mailed
  200. to:
  201.  
  202.                 JOSEPH SHEPPARD
  203.                 THE LEDGE PCBOARD
  204.                 6858 ACCO STREET
  205.                 LOS ANGELES, CA 90040
  206.  
  207. ───────
  208. UPDATES
  209. ───────
  210.  
  211. BBS:
  212. ----
  213. You can download the latest version of ATSEND by calling The Ledge
  214. PCBoard at (818) 896-2007.  Simply answer the logon questionnaire, and
  215. then type the word SUPPORT at the main menu command prompt.  From the
  216. Support Menu, pick the (D)ownload option from the command line.
  217.  
  218. INTERNET FTP:
  219. -------------
  220. Address: kaiwan.com
  221. Directory: /user/uninet/sheppard
  222.  
  223. INTERNET FTPMAIL:
  224. -----------------
  225. Address: ftpmail@ledge.com
  226. text:    list ledge
  227.  
  228. This will get you a listing of files available via FTPMAIL from The
  229. Ledge.  From this list you can get the name of the latest version of
  230. ATSEND.  If the latest version was ATSEND19.ZIP, you would send
  231. another message:
  232.  
  233. Address: ftpmail@ledge.com
  234. text:    get atsend19.zip
  235.  
  236. The file you request will be sent to you via return email in uuencoded
  237. format.
  238.  
  239. ───────
  240. WARNING
  241. ───────
  242.  
  243. I make no warranty of any kind, express or implied, including without
  244. limitation, any warranties of merchantability and/or fitness for a
  245. particular purpose.  I shall not be liable for any damages, whether
  246. direct, indirect, special or consequential arising from a failure of
  247. this program to operate in the manner desired by the user.  I shall
  248. not be liable for any damage to data or property which may be caused
  249. directly or indirectly by the use of this program.
  250.  
  251. IN NO EVENT WILL I BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY
  252. LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL
  253. DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO USE THE PROGRAM, OR
  254. FOR ANY CLAIM BY ANY OTHER PARTY.
  255.  
  256.  
  257.  
  258.